<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
		<title>蜂巢tab切换实例</title>
		<meta http-equiv="keywords" content="">
	    <meta http-equiv="description" content="">
	    <!--<meta http-equiv="X-UA-Compatible" content=“IE=EmulateIE8″>-->
	    <meta http-equiv="X-UA-Compatible" content=”IE=Edge,chrome=1″ />
	    <meta name="renderer" content="webkit">
	    <link rel="stylesheet" href="style/css/base/MyReset.css" />
	    <link rel="stylesheet" href="style/css/common/common.css" />
	    <link rel="stylesheet" href="style/css/common/main.css" />
	    <link rel="stylesheet" href="style/css/page/fc.css" />
	</head>
	<body>
		<div class="Ct">
			<div class="ywPart1" id="hexDiv">
				<!--
                	描述：蜂巢
                -->
                <div class="hex hexActive" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">即时通信</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">阅读</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">微博</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">导航</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex hex-row even" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">视频</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">音乐</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">应用商店</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex hex-row" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">游戏</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">支付</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">动漫</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">P2P业务</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex hex-row even" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">VOIP业务</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">彩信</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">浏览下载</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex hex-row" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">财经</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">安全杀毒</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">邮箱</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="hex" name="hexBlcok">
					<div class="hex_top"></div>
					<div class="hex_middle">其他</div>
					<div class="hex_bottom"></div>
				</div>
				<div class="ClearFloat"></div>
			</div>
		</div>
	<script type="text/javascript" src="style/js/base/jquery-1.9.1.min.js" ></script>
	<script>
		$("#hexDiv").find("div[name='hexBlcok']").on("click",function(){
			$(this).addClass("hexActive");
			$(this).siblings("div[name='hexBlcok']").removeClass("hexActive");
		});
	</script>
	</body>
</html>
